const express = require('express')
// 创建服务器
const app = express()
// 引入router
const router = require('./router/index.js')

app.use('/', router)


app.listen(7788, (res,req) => {
	console.log('服务端启动成功');
	console.log('http://localhost:7788');
})